Skip to content

Removing the original method per MIDI message (event) API #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 1, 2019

Conversation

kevinjwalters
Copy link

  • chopped methods out of adafruit_midi/__init__.py
  • updated examples in README.rst and midi_simpletest2.py to just use new API, deleted midi_simpletest.py as it purely used old API and other example replaces it.

Note comments on #12 for approval of this API removal from an impacted guide author.

Kevin J Walters added 2 commits April 26, 2019 19:57
…f new send() method for class based messages.

Updating examples in README.rst and midi_simpletest2.py, removing midi_simpletest.py. adafruit#12
@tannewt
Copy link
Member

tannewt commented Sep 30, 2019

Sorry we missed this! Please have the new simpletest2 as simpletest otherwise Adabot will be unhappy.

@kevinjwalters
Copy link
Author

@tannewt I did the rename.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the slow response. I'm just back from vacation for a few days.

One quick fix for the build and then it is good to go. Thanks!

.. literalinclude:: ../examples/midi_simpletest.py
:caption: examples/midi_simpletest.py
.. literalinclude:: ../examples/midi_simpletest2.py
:caption: examples/midi_simpletest2.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be changed back as well.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, I've been away from the CP library world for too long so missed this!

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Thank you!

@tannewt tannewt merged commit 889da3f into adafruit:master Nov 1, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 19, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground to 2.1.5 from 2.1.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#73 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#72 from dherrada/master
  > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#70 from dcbriccetti/tilt-instrument

Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.5.1 from 3.5.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_GPS#37 from kattni/setup-py-update

Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1 to 2.0.5 from 2.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#17 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#16 from 2bndy5/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_Debouncer to 1.1.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_Debouncer#12 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_Debouncer#11 from dastels/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 3.3.6 from 3.3.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#41 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#42 from adafruit/revert-40-alternate-devices-for-ble
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#40 from dhalbert/alternate-devices-for-ble

Updating https://github.com/adafruit/Adafruit_CircuitPython_MIDI to 1.1.1 from 1.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#13 from kevinjwalters/master
  > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#16 from adafruit/dherrada-patch-1
sommersoft pushed a commit to sommersoft/Adafruit_CircuitPython_MIDI that referenced this pull request Jan 9, 2020
…based on @tannewt advice.

Updating all the examples to explicitly set midi_in or midi_out to the USB ports.
Adding test case as constructor now raises an error if midi_in and midi_out are both omitted.
This will make sphinx-build work but that appears to be a separate bug. adafruit#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants